Optimal. Leaf size=308 \[ -\frac {p \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (-\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right )}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 308, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2512, 266,
2463, 2441, 2440, 2438} \begin {gather*} -\frac {p \text {PolyLog}\left (2,\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right )}{e}-\frac {p \text {PolyLog}\left (2,\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{-1} \sqrt [3]{a} e+\sqrt [3]{b} d}\right )}{e}-\frac {p \text {PolyLog}\left (2,\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right )}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {p \log (d+e x) \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right )}{e}-\frac {p \log (d+e x) \log \left (-\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right )}{e}-\frac {p \log (d+e x) \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{-1} \sqrt [3]{a} e+\sqrt [3]{b} d}\right )}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 2438
Rule 2440
Rule 2441
Rule 2463
Rule 2512
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (a+b x^3\right )^p\right )}{d+e x} \, dx &=\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {(3 b p) \int \frac {x^2 \log (d+e x)}{a+b x^3} \, dx}{e}\\ &=\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {(3 b p) \int \left (\frac {\log (d+e x)}{3 b^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {\log (d+e x)}{3 b^{2/3} \left (-\sqrt [3]{-1} \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {\log (d+e x)}{3 b^{2/3} \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}\right ) \, dx}{e}\\ &=\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {\left (\sqrt [3]{b} p\right ) \int \frac {\log (d+e x)}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{e}-\frac {\left (\sqrt [3]{b} p\right ) \int \frac {\log (d+e x)}{-\sqrt [3]{-1} \sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{e}-\frac {\left (\sqrt [3]{b} p\right ) \int \frac {\log (d+e x)}{(-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{e}\\ &=-\frac {p \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (-\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}+p \int \frac {\log \left (\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{-\sqrt [3]{b} d+\sqrt [3]{a} e}\right )}{d+e x} \, dx+p \int \frac {\log \left (\frac {e \left (-\sqrt [3]{-1} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{-\sqrt [3]{b} d-\sqrt [3]{-1} \sqrt [3]{a} e}\right )}{d+e x} \, dx+p \int \frac {\log \left (\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{-\sqrt [3]{b} d+(-1)^{2/3} \sqrt [3]{a} e}\right )}{d+e x} \, dx\\ &=-\frac {p \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (-\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}+\frac {p \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt [3]{b} x}{-\sqrt [3]{b} d+\sqrt [3]{a} e}\right )}{x} \, dx,x,d+e x\right )}{e}+\frac {p \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt [3]{b} x}{-\sqrt [3]{b} d-\sqrt [3]{-1} \sqrt [3]{a} e}\right )}{x} \, dx,x,d+e x\right )}{e}+\frac {p \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt [3]{b} x}{-\sqrt [3]{b} d+(-1)^{2/3} \sqrt [3]{a} e}\right )}{x} \, dx,x,d+e x\right )}{e}\\ &=-\frac {p \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (-\frac {e \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right )}{e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 313, normalized size = 1.02 \begin {gather*} -\frac {p \log \left (-\frac {e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (-\frac {(-1)^{2/3} e \left (\sqrt [3]{a}-\sqrt [3]{-1} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}-\frac {p \log \left (\frac {\sqrt [3]{-1} e \left (\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x\right )}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right ) \log (d+e x)}{e}+\frac {\log (d+e x) \log \left (c \left (a+b x^3\right )^p\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-\sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d+\sqrt [3]{-1} \sqrt [3]{a} e}\right )}{e}-\frac {p \text {Li}_2\left (\frac {\sqrt [3]{b} (d+e x)}{\sqrt [3]{b} d-(-1)^{2/3} \sqrt [3]{a} e}\right )}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.34, size = 261, normalized size = 0.85
method | result | size |
risch | \(\frac {\ln \left (e x +d \right ) \ln \left (\left (x^{3} b +a \right )^{p}\right )}{e}-\frac {p \left (\munderset {\textit {\_R1} =\RootOf \left (\textit {\_Z}^{3} b -3 \textit {\_Z}^{2} b d +3 \textit {\_Z} b \,d^{2}+e^{3} a -b \,d^{3}\right )}{\sum }\left (\ln \left (e x +d \right ) \ln \left (\frac {-e x +\textit {\_R1} -d}{\textit {\_R1}}\right )+\dilog \left (\frac {-e x +\textit {\_R1} -d}{\textit {\_R1}}\right )\right )\right )}{e}+\frac {i \ln \left (e x +d \right ) \pi \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}}{2 e}-\frac {i \ln \left (e x +d \right ) \pi \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )}{2 e}-\frac {i \ln \left (e x +d \right ) \pi \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}}{2 e}+\frac {i \ln \left (e x +d \right ) \pi \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )}{2 e}+\frac {\ln \left (e x +d \right ) \ln \left (c \right )}{e}\) | \(261\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\ln \left (c\,{\left (b\,x^3+a\right )}^p\right )}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________